Skip to content

adding smallscale changes to graham implementation, fft, and thomas. #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2018

Conversation

leios
Copy link
Member

@leios leios commented May 15, 2018

Here are a few quick updates to the implementation of graham scan. I also slightly modified the spacing in the fft algorithm and removed a comment that shouldn'e be there and fixed some stuff with the thomas.md file.

As a note: we indicated that the readme could use some work and should be split so it's not on algorithm-archive.org anymore. The reason we have the readme as the first page is in part because of how gitbook worked when we were using it. Since we are no longer on gitbook, this shouldn't be an issue anymore.

@jiegillet
Copy link
Member

I really like your update for Graham Scan, thumbs up!

@leios
Copy link
Member Author

leios commented May 15, 2018

It was gathros's idea. For some reason, I didn't think of using atan2()

@jiegillet jiegillet added Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) Chapter Edit This changes the archive's chapters. (md files are edited.) labels May 15, 2018
@jiegillet
Copy link
Member

There are many ways of calculating angles, I also used atan2 (although I used 2, I see now that I could simplify it)

@jiegillet jiegillet merged commit a47bdee into algorithm-archivists:master May 15, 2018
@zsparal
Copy link
Contributor

zsparal commented May 15, 2018

atan2 is alright for educational purposes but using a dot product would be significantly faster

@leios leios deleted the smallscale_updates branch September 21, 2018 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chapter Edit This changes the archive's chapters. (md files are edited.) Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants